using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;
using QLKS.DTO;
namespace QLKS.DAO
{
    public class LoaiPhong_DAO
    {
        clsQLKS obj = new clsQLKS();

        //lay danh sach loai phong
        public DataTable LoaiPhong_Load()
        {
            return obj.GetData("LoaiPhong");
        }

        //lay ma loai phong duoc chon
        public int GetMaLoaiPhong(Phong_DTO p)
        {
            return obj.GetMaLoaiPhong(p);
        }

        //lay so nguoi cua loai phong
        public int GetSoNguoi(LoaiPhong_DTO lp)
        {
            return obj.GetSoNguoi(lp);
        }
    }
}
